From 4a2a1664828cfca38e3112397a66c484c973078f Mon Sep 17 00:00:00 2001 From: Robert Leverington Date: Sun, 1 Jun 2008 16:00:02 +0000 Subject: [PATCH] * (bug 14370) When a grouppage-x message does not exist the entry on the ListGroupRights special page links to the main namespace page not the project namespace page. --- RELEASE-NOTES | 3 +++ includes/SpecialListgrouprights.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 3950f1da20..298ece05ae 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -315,6 +315,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN set to true * (bug 13034) Interwiki pages can now be reached using Go search button * (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias +* (bug 14370) When a grouppage-x message does not exist the entry on the + ListGroupRights special page links to the main namespace page not the project + namespace page. === API changes in 1.13 === diff --git a/includes/SpecialListgrouprights.php b/includes/SpecialListgrouprights.php index 1482708545..131c06061a 100644 --- a/includes/SpecialListgrouprights.php +++ b/includes/SpecialListgrouprights.php @@ -50,7 +50,7 @@ class SpecialListGroupRights extends SpecialPage { $msg = wfMsgForContent( 'grouppage-' . $groupname ); if ( wfEmptyMsg( 'grouppage-' . $groupname, $msg ) || $msg == '' ) { - $grouppageLocalized = $groupname; + $grouppageLocalized = MWNamespace::getCanonicalName( NS_PROJECT ) . ':' . $groupname; } else { $grouppageLocalized = $msg; } -- 2.20.1